package com.wangyal.servicefeign;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author WangYaLong 2018/4/2 下午5:05
 */
@RestController
public class HelloController {

    @Autowired
    SchedualServiceHi schedualServiceHi;


    @GetMapping("/hi")
    public String hi(String name) {

        return schedualServiceHi.sayHiFromClientOne(name);
    }
}
